package com.moon.interview.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("question_bank")
public class QuestionBank extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 标题 */
    @TableField("title")
    private String title;

    /** 描述 */
    @TableField("description")
    private String description;

    /** 图片 */
    @TableField("picture")
    private String picture;

    /** 用户Id */
    @TableField("user_id")
    private Long userId;
}
